QT += opengl
CONFIG      += designer plugin debug_and_release
TARGET      = $$qtLibraryTarget(qplotxplugin)
TEMPLATE    = lib

INCLUDEPATH += ../QFuncXComponent ../QPlotXComponent /usr/include/qwtplot3d-qt4
HEADERS     = qplotplugin.h
SOURCES     = qplotplugin.cpp
RESOURCES   = icons.qrc
LIBS        += -L. -lqwtplot3d-qt4

target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS    += target

DESTDIR = $$[QT_INSTALL_PLUGINS]/designer
INCLUDEPATH += /usr/include/qwt-qt4/
LIBS += /usr/lib/qt4/plugins/designer/libqwt_designer_plugin.so
include(qplot.pri)
